<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
	<title>test</title>
</head>
<body>
    <form action="/index/" method="post">
        <a href="/index/" style="font-size:50px;color:black;">返回主菜单</a>
    </form>
    <br> 


    
    <h1 style="background-color:antiquewhite;color:black;">输入近义词（按对输入）</h1>
    <form action="/index/homoionym/" method="post">
        <input type="text" name="origin_word"/>
        <input type="text" name="homoionym_word"/>
        <input type="submit" value="增加"/>
    </form>

    <form action="/index/homoionym_delete/" method="post">
        <input type="text" name="origin_word"/>
        <input type="text" name="homoionym_word"/>
        <input type="submit" value="删除"/>
    </form>

    <form action="/index/homoionym_modify/" method="post">
        <input type="text" name="origin_word"/>
        <input type="text" name="homoionym_word"/>
        <input type="submit" value="修改"/>
    </form>

    <form action="/index/homoionym_query/" method="post">
        <input type="text" name="origin_word"/>
        <input type="text" name="homoionym_word"/>
        <input type="submit" value="查询"/>暂时只支持精准查询
    </form>

    <script src="/static/js/jquery-1.12.4.js"></script>
</body>
    <hr />


    <h1 style="background-color:antiquewhite;color:black;">当前近义词数据展示：</h1>

    <table border="1">
        <thead>
            <th>备查词汇</th>
            <th>相近词语</th>
        </thead>
        <tbody>

            {%for line in data %}
                <tr>
                    <td>{{line.origin_word}}</td>
                    <td>{{line.homoionym_word}}</td>
                </tr>
            {%endfor%}
        </tbody>
    </table>
















<script src="/static/js/jquery-1.12.4.js"></script>
</body>
</html>

